import request from '/@/utils/request'

// 获取消息管理列表
export const noticeLists = (params?: any) => request.get('/setting/notice/lists', params);

// 切换消息渠道状态
export const noticeChange = (params?: any) => request.post('/setting/notice/change', params);

// 编辑消息管理
export const noticeEdit = (params?: any) => request.post('/setting/notice/edit', params);

// 获取消息管理详情
export const noticeDetail = (params?: any) => request.get('/setting/notice/detail', params);

// 获取消息日志列表
export const noticeLogLists = (params?: any) => request.get('/setting/noticeLog/lists', params);

// 获取消息日志详情
export const noticeLogDetail = (params?: any) => request.get('/setting/noticeLog/detail', params);